import tabbarpng from "../../../../../assets/app/icon/tabbar.png";
import bannerGoodspng from "../../../../../assets/app/icon/bannerGoods.png";
import picturepng from "../../../../../assets/app/icon/picture.png";
import picturespng from "../../../../../assets/app/icon/pictures.png";
import listmenupng from "../../../../../assets/app/icon/listmenu.png";
import titlepng from "../../../../../assets/app/icon/title.png";
import richtextpng from "../../../../../assets/app/icon/richtext.png";
import menupng from "../../../../../assets/app/icon/menu.png";
import floatpng from "../../../../../assets/app/icon/float.png";
import searchpng from "../../../../../assets/app/icon/search.png";
import bannerSearchpng from "../../../../../assets/app/icon/bannerSearch.png";
import hotspotpng from "../../../../../assets/app/icon/hotspot.png";
import goodspng from "../../../../../assets/app/icon/goods.png";
import goodsRankingpng from "../../../../../assets/app/icon/goodsRanking.png";
import noticepng from "../../../../../assets/app/icon/notice.png";
import cubepng from "../../../../../assets/app/icon/cube.png";
import secKill from "../../../../../assets/app/icon/secKill.png";
import myOrder from "../../../../../assets/app/icon/myOrder.png";
import myOrderList from "../../../../../assets/app/icon/myOrderList.png";
import integralpng from "../../../../../assets/app/icon/integral.png"
import informationpng from "../../../../../assets/app/icon/information.png"
import memberlevelpng from "../../../../../assets/app/icon/memberlevel.png"
import memberrightspng from "../../../../../assets/app/icon/memberrights.png"
import membertaskpng from "../../../../../assets/app/icon/membertask.png"
import couponIcon from "../../../../../assets/app/icon/coupon.png";
import daifukuan from "@/assets/images/myOrder/daifukuan.png";
import dailingqu from "@/assets/images/myOrder/dailingqu.png";
import daifahuo from "@/assets/images/myOrder/daifahuo.png";
import daishouhuo from "@/assets/images/myOrder/daishouhuo.png";
import tuihuanhuo from "@/assets/images/myOrder/tuihuanhuo.png";

import { purchaseButtonPageConfig } from "./operationComponents/purchaseButtonSetting";
import { selectGoodsSettingPageConfig } from "./operationComponents/selectGoodsSetting";
import {
  goodsContentSettingPageConfig
} from "./operationComponents/goodsContentSetting";
import {contentAlignmentPageConfig} from "./operationComponents/contentAlignment";

import {goodsFilterPageConfig} from "./operationComponents/goodsFilterSetting";

const storeTypeList = [
  {
    category: "page",
    type: "PageSetting",
    name: "页面基础配置",
    icon: bannerGoodspng, // TODO 换个图标
    isSenior: false,
    isBottom: false,
    pageConfig: {
      useBackground: false,
      backgroundColor: "#f2f4f7",
      backgroundImageUrl: "",
      homePage: 0,
    }
  },
  {
    category: "picture",
    type: "ImgCarousel",
    name: "图片轮播",
    icon: bannerGoodspng,
    isSenior: true,
    isBottom: false,
    pageConfig: {
      custom: "1",
      style: "1",
      dotshow: true,
      dotStyle: "1",
      position: "1",
      color: "",
      borderWidth: 1,
      borderColor: "",
      marginTop: 0,
      marginBottom: 0,
      marginImg: 5,
      margin: 0,
      radiusTop: 0,
      radiusBottom: 0,
      imgList: [
        {
          imgUrl: "",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
        {
          imgUrl: "",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
      ],
    },
  },
  {
    category: "picture",
    type: "Image",
    name: "图片",
    icon: picturepng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      custom: "1",
      color: "",
      marginTop: 0,
      marginBottom: 0,
      marginImg: 0,
      margin: 0,
      radiusTop: 0,
      radiusBottom: 0,
      imgList: [
        {
          imgUrl: "",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
      ],
    },
  },
  {
    category: "picture",
    type: "ImgBroadcast",
    name: "图片展播",
    icon: picturespng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      titleShow: true,
      titleColor: "#fff",
      subtitleShow: true,
      subtitleColor: "#333",
      titleSize: 14,
      subtitleSize: 12,
      position: "1",
      color: "",
      marginTop: 0,
      marginBottom: 0,
      margin: 0,
      radiusTop: 0,
      radiusBottom: 0,
      imgList: [
        {
          title: "这里是主标题",
          subtitle: "这里是副标题",
          imgUrl: "",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
        {
          title: "这里是主标题",
          subtitle: "这里是副标题",
          imgUrl: "",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
        {
          title: "这里是主标题",
          subtitle: "这里是副标题",
          imgUrl: "",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
      ],
    },
  },
  {
    category: "picture",
    type: "ImgNav",
    name: "图片导航",
    icon: picturespng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      style: "1",
      color: "",
      borderColor: "",
      borderWidth: 1,
      marginTop: 0,
      marginBottom: 0,
      margin: 10,
      radiusTop: 0,
      radiusBottom: 0,
      titleSize: 14,
      subtitleSize: 12,
      imgList: [
        {
          title: "主标题",
          subtitle: "副标题",
          titleColor: "#3d404d",
          subtitleColor: "#5e6066",
          color: "#fff",
          imgUrl: "",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
        {
          title: "主标题",
          subtitle: "副标题",
          titleColor: "#3d404d",
          subtitleColor: "#5e6066",
          color: "#fff",
          imgUrl: "",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
        {
          title: "主标题",
          subtitle: "副标题",
          titleColor: "#3d404d",
          subtitleColor: "#5e6066",
          color: "#fff",
          imgUrl: "",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
      ],
    },
  },
  {
    category: "picture",
    type: "ListNav",
    name: "列表导航",
    icon: listmenupng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      iconshow: true,
      color: "",
      listcolor: "#fff",
      iconcolor: "#999999",
      textcolor: "#999999",
      linecolor: "#ededed",
      marginTop: 0,
      marginBottom: 0,
      margin: 0,
      radiusTop: 0,
      radiusBottom: 0,
      textSize: 14,
      imgList: [
        {
          title: "文字",
          imgUrl: "",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
        {
          title: "文字",
          imgUrl: "",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
        {
          title: "文字",
          imgUrl: "",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
      ],
    },
  },
  {
    category: "picture",
    type: "Title",
    name: "标题栏",
    icon: titlepng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      style: "1",
      color: "",
      textcolor: "#333",
      title: "标题栏",
      marginTop: 0,
      marginBottom: 0,
      margin: 0,
      pictureShow: true,
      pictureUrl: "./imagesStatic/1663576769000Z8R8title-icon.png",
      radius: 0,
      fontsize: 16,
      fontbold: true,
      fontstyle: false,
      subTitleShow: true,
      subTitlecolor: "#b7bcd2",
      subFontsize: 12,
      subcontent: "RECOMMEND",
      moreShow: true,
      arrowShow: true,
      morecolor: "#b0b3bf",
      morecontent: "查看更多",
      morelink: "",
      componentWay: 1,
      componentcolor: "#fff",
      componentUrl: "",
    },
  },
  {
    category: "picture",
    type: "Richtext",
    name: "富文本",
    icon: richtextpng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      style: "1",
      color: "",
      componentcolor: "",
      content: "进入富文本编辑框编辑内容",
      marginTop: 0,
      marginBottom: 0,
      margin: 10,
      radiusTop: 0,
      radiusBottom: 0,
      borderWidth: 1,
      borderColor: "",
    },
  },
  {
    category: "picture",
    type: "Btngroup",
    name: "按钮组",
    icon: menupng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      iconStyle: "1",
      shape: "3",
      icontype: "1",
      componnetstyle: "1",
      num: 4,
      columnNum: 1,
      style: "1",
      titleSize: 12,
      color: "",
      componentcolor: "#fff",
      textcolor: "#333333",
      iconcolor: "#666666",
      marginTop: 8,
      marginBottom: 8,
      margin: 0,
      radiusTop: 0,
      radiusBottom: 0,
      borderWidth: 1,
      borderColor: "",
      imgList: [
        {
          title: "按钮文字",
          imgUrl: "./imagesStatic/1665539452000cDw3default_btn1.png",
          iconUrl: "copy-document",
          labelShow: true,
          labelContent: "热门",
          labelColor: "#f83287",
          textColor: "#fff",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
        {
          title: "按钮文字",
          imgUrl: "./imagesStatic/1665539531000Fh8Qdefault_btn2.png",
          iconUrl: "copy-document",
          labelShow: true,
          labelContent: "热门",
          labelColor: "#f83287",
          textColor: "#fff",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
        {
          title: "按钮文字",
          imgUrl: "./imagesStatic/1665539564000CKFndefault_btn3.png",
          iconUrl: "copy-document",
          labelShow: true,
          labelContent: "热门",
          labelColor: "#f83287",
          textColor: "#fff",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
        {
          title: "按钮文字",
          imgUrl: "./imagesStatic/1665539598000wWKmdefault_btn4.png",
          iconUrl: "copy-document",
          labelShow: true,
          labelContent: "热门",
          labelColor: "#f83287",
          textColor: "#fff",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
      ],
    },
  },
  {
    category: "picture",
    type: "Floatbtn",
    name: "浮动按钮",
    icon: floatpng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      style: "1",
      custom: "1",
      position: "4",
      color: "#FD463E",
      opacity: 100,
      marginright: 20,
      marginleft: 20,
      marginBottom: 50,
      iconmargin: 15,
      width: 100,
      height: 100,
      imgList: [
        {
          type: "link",
          iconUrl: "31dianhua",
          imgUrl: "",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
      ],
    },
  },
  {
    category: "picture",
    type: "Search",
    name: "搜索框",
    icon: searchpng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      style: "3",
      borderColor: "#ededed",
      borderWidth: 1,
      color: "",
      componentColor: "#f2f2f2",
      iconColor: "#fd463e",
      textColor: "#999999",
      position: "1",
      searchWord: "",
      marginTop: 5,
      marginBottom: 5,
      radiusTop: 4,
      radiusBottom: 4,
    },
  },
  {
    category: "picture",
    type: "BannerSearch",
    name: "轮播搜索",
    icon: bannerSearchpng,
    isSenior: true,
    isBottom: false,
    pageConfig: {
      custom: "1",
      iconcolor: "#fd463e",
      textcolor: "#5e6066",
      color: "",
      searchWord: "",
      opacity: 80,
      position: "2",
      style: "1",
      borderColor: "#ededed",
      borderWidth: 1,
      marginTop: 0,
      marginBottom: 0,
      marginImg: 5,
      margin: 0,
      radiusTop: 0,
      radiusBottom: 0,
      imgList: [
        {
          imgUrl: "",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
        {
          imgUrl: "",
          name: "",
          url: "",
          urlType: "",
          urlName: "",
        },
      ],
    },
  },
  {
    category: "picture",
    type: "Hot",
    name: "热区",
    icon: hotspotpng,
    isSenior: true,
    isBottom: false,
    pageConfig: {
      color: "",
      marginTop: 0,
      marginBottom: 0,
      marginImg: 5,
      margin: 0,
      radiusTop: 0,
      radiusBottom: 0,
      imgUrl: "./imagesStatic/default_banner.png",
      zones: [],
    },
  },
  {
    category: "picture",
    type: "Notice",
    name: "公告",
    icon: noticepng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      iconStyle: 1,
      iconShowStyle: "1",
      iconUrl: "",
      dataStyle: 2,
      content: "",
      dataway: 1,
      dataUrl: "",
      fontsize: 14,
      fontbold: false,
      style: "1",
      borderColor: "#ededed",
      borderWidth: 1,
      color: "",
      componentColor: "#fff",
      lineColor: "#333",
      textColor: "#666",
      marginTop: 5,
      marginBottom: 5,
      margin: 12,
      radiusTop: 4,
      radiusBottom: 4,
      merchantId: "",
    },
  },
  {
    category: "picture",
    type: "Cube",
    name: "魔方",
    icon: cubepng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      color: "",
      marginTop: 0,
      marginBottom: 0,
      marginImg: 0,
      margin: 0,
      radiusTop: 0,
      radiusBottom: 0,
      cudeSelected: [],
    },
  },
  {
    category: "goods",
    type: "Goodsgroup",
    name: "商品组",
    icon: goodspng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      custom: "1",
      style: "1",
      color: "transparent",
      goodsColor: "#fff",
      borderWidth: 1,
      borderColor: "#ededed",
      dotSetting: "1",
      dotStyle: "1",
      dotName: "",
      dotUrl: "",
      distance: 10,
      marginTop: 10,
      marginBottom: 10,
      marginImg: 10,
      margin: 10,
      radiusTop: 4,
      radiusBottom: 4,
      chooseClassify: false,
      classifyId: "",
      ...selectGoodsSettingPageConfig, // 选择商品
      ...purchaseButtonPageConfig, // 购买按钮
      ...goodsContentSettingPageConfig, // 显示内容
      ...contentAlignmentPageConfig, // 内容对齐
    },
  },
  {
    category: "goods",
    type: "Allgoods",
    name: "全部商品",
    icon: goodspng,
    isSenior: false,
    isBottom: true,
    pageConfig: {
      custom: "1",
      style: "1",
      color: "transparent",
      goodsColor: "#fff",
      sortType: 1,
      borderWidth: 1,
      borderColor: "#ededed",
      dotSetting: "1",
      dotStyle: "1",
      dotName: "",
      dotUrl: "",
      distance: 10,
      marginTop: 10,
      marginBottom: 10,
      marginImg: 10,
      margin: 10,
      radiusTop: 4,
      radiusBottom: 4,
      chooseClassify: false,
      classifyId: "",
      ...selectGoodsSettingPageConfig, // 选择商品
      ...purchaseButtonPageConfig, // 购买按钮
      ...goodsContentSettingPageConfig, // 显示内容
    },
  },
  {
    category: "goods",
    type: "Tabs",
    name: "选项卡",
    icon: tabbarpng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      tabStyle: '1',
      tabSelectedStyle: "bordered",
      bgcolor: "transparent",
      tabColor: "#fff",
      unselectcolor: "#666",
      selectedcolor: "#E03221",
      tablineColor: "#E03221",
      subShow: false,
      unsubColor: "#666",
      selectedsubColor: "#666",
      selectBgColor: "#E03221",
      selectedBorderColor: "#E03221",
      tabDistance: 20,
      tabMarginTop: 0,
      tabMarginBottom: 0,
      tabMargin: 0,
      tabIndex: 0,
      bgRadiusTop: 0,
      bgRadiusBottom: 0,
      style: "1",
      borderWidth: 1,
      borderColor: "#ededed",
      tabFontSize: 15,
      custom: "1",
      goodsColor: "#fff",
      dotSetting: "1",
      dotStyle: "1",
      dotName: "",
      dotUrl: "",
      distance: 10,
      marginTop: 0,
      marginBottom: 10,
      margin: 10,
      radiusTop: 4,
      radiusBottom: 4,
      mallId: '',
      tabList: [
        {
          title: "选项",
          subtitle: "副标题",
          ...selectGoodsSettingPageConfig,
        },
        {
          title: "选项",
          subtitle: "副标题",
          ...selectGoodsSettingPageConfig,
        },
      ],
      ...purchaseButtonPageConfig, // 购买按钮
      ...goodsContentSettingPageConfig, // 显示内容
      ...goodsFilterPageConfig, // 排序筛选
    },
  },
  {
    category: "goods",
    type: "Rank",
    name: "商品排行",
    icon: goodsRankingpng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      custom: "3",
      style: "1",
      borderWidth: 1,
      borderColor: "#ededed",
      titleLineColor: "#333",
      title: "商品排行",
      titleImg: "./imagesStatic/1662518195000G6B5ranking.png",
      titleShow: true,
      classifyId: "",
      showCount: 1,
      keyword: "",
      lowPrice: "",
      highPrice: "",
      color: "",
      goodsColor: "#fff",
      distance: 10,
      marginTop: 10,
      marginBottom: 10,
      margin: 10,
      radiusTop: 4,
      radiusBottom: 4,
      mallId: "",
      ...purchaseButtonPageConfig, // 购买按钮
      ...selectGoodsSettingPageConfig, // 选择商品
      goodsChooseType: "category",
      ...goodsContentSettingPageConfig, // 显示内容
      ...contentAlignmentPageConfig, // 内容对齐
    },
  },
  {
    category: "goods",
    type: "ChargeGoods",
    name: "充值商品",
    icon: tabbarpng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      bgcolor: "#FFF",
      bgMargin: 10,
      bgPadding: 15,
      bgRadius: 10,
      tabColor: "#FFF",
      selectedcolor: "#FF4D4F",
      unselectcolor: "#999999",
      tabShow: true,
      tablineColor: "#ef4f4f",
      subShow: false,
      unsubColor: "#666",
      selectedsubColor: "#666",
      selectBg: "1",
      selectBgColor: "transparent",
      selectBgUrl: "",
      tabDistance: 20,
      tabMarginTop: 0,
      tabMarginBottom: 0,
      tabMargin: 0,
      tabIndex: 0,
      bgRadiusTop: 0,
      bgRadiusBottom: 0,
      style: "1",
      borderWidth: 1,
      borderColor: "#ededed",
      custom: "1",
      productBackgroundColor: "#fff",
      titlecolor: "#3d404d",
      titleShow: true,
      subtitlecolor: "#999ca7",
      subtitleShow: true,
      priceShow: true,
      price: "#ff4d4f",
      originalPriceShow: true,
      originalPrice: "#999CA7",
      carUrl: "",
      dotSetting: "1",
      dotStyle: "1",
      dotName: "",
      dotUrl: "",
      distance: 7,
      marginTop: 12,
      marginBottom: 12,
      margin: 12,
      radiusTop: 4,
      radiusBottom: 4,
      mallId: "",
      tabList: [
        {
          title: "话费充值",
          enableSubCate: "0",
          subCateList: [],
          goodsList: [],
          productList: [],
          memo: "",
        },
        {
          title: "油卡充值",
          subCateList: [],
          enableSubCate: "0",
          goodsList: [],
          productList: [],
          memo: "",
        },
      ],
      productCols: 2,
      productBackgroundColorSelect: "#ff4d4f",
      productBorderColorSelect: "#ff4d4f",
      productColorSelect: "#fff",
      productTextAlign: "center",
      confirmButtonBackgroundColor: "#ff4d4f",
      confirmButtonColor: "#fff",
    },
  },
  {
    category: "auto",
    type: "secKill",
    name: "秒杀商品",
    icon: secKill,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      custom: "1",
      style: "1",
      borderWidth: 1,
      borderColor: "#ededed",
      titleStyle: "text",
      title: "限时秒杀",
      titleColor: "#FFFFFF",
      titleImg: "",
      moreShow: true,
      moreText: "更多",
      moreColor: "#FFFFFF",
      countdownColor: "#FF4D4F",
      countdownBg: "#FFFFFF",
      componentBgStyle: "color",
      componentBgColor: "#FF4D4F",
      componentBgUrl: "",
      goodsBgColor: "#FFFFFF",
      goodsNameShow: true,
      goodsNameColor: "#333333",
      priceShow: true,
      priceColor: "#F74B4E",
      originalPriceShow: true,
      originalPriceColor: "#666666",
      goodsAction: "secKillPage",
      distance: 10,
      marginTop: 0,
      marginBottom: 0,
      marginHorizontal: 0,
      radiusTop: 10,
      radiusBottom: 10,
    },
  },
  {
    category: "goods",
    type: "myOrder",
    name: "我的订单",
    icon: myOrder,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      buttonType: "picture",
      entrances: [
        {
          img: daifukuan,
          useDefaultImg: true,
          defaultImgKey: 'daifukuan',
          title: "待付款",
          status: 0,
          icon: "daifukuan",
          enable: true,
        },
        {
          img: daifukuan,
          useDefaultImg: true,
          defaultImgKey: 'daifukuan',
          title: "待审核",
          status: 11,
          icon: "daishenhe",
          enable: false,
        },

        {
          img: dailingqu,
          useDefaultImg: true,
          defaultImgKey: 'dailingqu',
          title: "待提货",
          status: 2,
          icon: "dailingqu",
          enable: true,
        },
        {
          img: daifahuo,
          useDefaultImg: true,
          defaultImgKey: 'daifahuo',
          title: "待发货",
          status: 3,
          icon: "daifahuo",
          enable: true,
        },
        {
          img: daishouhuo,
          useDefaultImg: true,
          defaultImgKey: 'daishouhuo',
          title: "待收货",
          status: 4,
          icon: "daishouhuo",
          enable: true,
        },
        {
          img: tuihuanhuo,
          useDefaultImg: true,
          defaultImgKey: 'tuihuanhuo',
          title: "售后服务",
          status: -2,
          icon: "tuihuanhuo",
          enable: true,
        },
      ],
      urlType: "mallPage",
      linkType: "",
      url: "",
      urlName: "",
      componentBg: "#FFFFFF",
      titleBg: "#FFFFFF",
      contentBg: "#FFFFFF",
      titleColor: "#333333",
      allOrderColor: "#999999",
      buttonColor: "#333333",
      marginTop: 10,
      marginBottom: 10,
      marginHorizontal: 10,
      radiusTop: 4,
      radiusBottom: 4,
    },
  },
  {
    category: "goods",
    type: "myOrderList",
    name: "订单列表",
    icon: myOrderList,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      entrances: [
        {
          name: "全部",
          status: -1,
          enable: true,
        },
        {
          name: "待付款",
          status: 0,
          enable: true,
        },
        {
          name: "待审核",
          status: 11,
          enable: true,
        },
        {
          name: "待提货",
          status: 2,
          enable: true,
        },
        {
          name: "待发货",
          status: 3,
          enable: true,
        },
        {
          name: "待收货",
          status: 4,
          enable: true,
        },
        {
          name: '已完成',
          status: 5,
          enable: true,
        },
        {
          name: '已关闭',
          status: 6,
          enable: true,
        },
      ],
    },
  },

  {
    category: "Footbar",
    type: "Footbar",
    name: "底部导航栏",
    icon: tabbarpng,
    isSenior: false,
    isBottom: true,
    pageConfig: {
      currentIndex: 0,
      type: 1,
      bgcolor: "#fff",
      unselectcolor: "#969799",
      selectcolor: "#FF3B30",
      tabList: [
        {
          title: "首页",
          custom: true,
          iconUrl: "home",
          imageUrl: "./imagesStatic/1661756860000Fhe8Icon-shouye-xuanhzong.png",
          unImgUrl: "./imagesStatic/1661756963000APA3Icon-shouye.png",
          keyword: "Home",
          linkType: 2,
        },
        {
          title: "分类",
          custom: true,
          iconUrl: "fenlei",
          imageUrl: "./imagesStatic/1661757055000dwYnicon-fenlei-xuanhzong.png",
          unImgUrl: "./imagesStatic/16617571070006Pz8icon-fenlei.png",
          keyword: "Classify",
          linkType: 2,
        },
        {
          title: "个人中心",
          custom: true,
          iconUrl: "icon03",
          imageUrl: "./imagesStatic/1661757148000rAZZIcon-xuanhzong-wode.png",
          unImgUrl: "./imagesStatic/1661757173000SAK7Icon-wode.png",
          keyword: "Person",
          linkType: 2,
        },
      ],
    },
  },
  {
    category: "goods",
    type: "Integral",
    name: "积分",
    icon: integralpng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      showType: "1", // 积分展示类型
      integralSize: 24, // 积分字号
      integralColor: "#FFFFFF", // 积分颜色
      showIntegralRule: "1", // 积分规则是否显示
      imgIntegralRule: "", // 积分规则图片
      cptType: "2", // 组件类型
      bgColor: "#FFFFFF", // 背景色
      bgImg: "", // 背景图
      marginTop: 10,
      marginBottom: 10,
      margin: 10,
      paddingTop: 16,
      paddingLeft: 24,
      paddingRight: 12,
      paddingBottom: 0,
      radiusTop: 0,
      radiusBottom: 0,
    },
  },
  {
    category: "goods",
    type: "Information",
    name: "个人信息",
    icon: informationpng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      style: 1, // 风格
      checkList: [1, 2, 3, 4, 5], // 内容类型
      nameColor: "", // 昵称颜色
      imgIntegralRule: "", // 积分规则图片
      cptType: "2", // 组件背景类型
      bgColor: "#FFFFFF", // 背景色
      bgImg: "", // 背景图
      marginTop: 10,
      marginBottom: 10,
      margin: 10,
      paddingTop: 16,
      paddingLeft: 24,
      paddingRight: 12,
      radiusTop: 8,
      radiusBottom: 8,
    },
  },
  {
    category: "member",
    type: "memberLevel",
    name: "会员等级",
    icon: memberlevelpng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      style: 1, // 风格
      bgColor: "#303646",//组件背景色
      cptType: "1", // 组件背景类型
      bgImg: '',//组件背景图片
      //风格2
      trackColor: '',//轨道颜色
      trackLevelDefaultColor: '#D5D5D5',//轨道等级默认颜色
      trackLevelSelectedColor: '#F9DECB',//轨道等级选中颜色
      grouthValueColor: "#ffddc8",//成长值颜色
      grouthValueFontSize: 20,//成长值字号

      //风格1 边距
      nameColor: "#F9DECB", //昵称颜色
      marginTop: 10,
      marginBottom: 10,
      margin: 10,
      paddingTop: 16,
      paddingLeft: 24,
      paddingRight: 12,
      radiusTop: 8,
      radiusBottom: 8,

      //会员相关等级列表
      memberLevelList: []
    },
  },
  {
    category: "member",
    type: "memberRights",
    name: "会员权益",
    icon: memberrightspng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      style: 1, // 风格
      rightsTitle: "会员权益",//标题
      titleColor: "#333",//标题颜色
      titleSize: 24,//标题字号
      cptType: "1", // 组件背景类型
      bgColor: "#FFFFFF",//背景色
      bgImg: "", // 背景图
      textColor: '#666',//文字颜色
      showSubtitle: false,//显示副标题

      itemSpace: 10,//权益间距
      marginTop: 10,
      marginBottom: 10,
      margin: 10,
      paddingTop: 16,
      paddingLeft: 24,
      paddingRight: 12,
      radiusTop: 8,
      radiusBottom: 8,
    },
  },
  {
    category: "member",
    type: "memberTask",
    name: "会员任务",
    icon: membertaskpng,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      taskTitle: "会员任务",//标题
      titleColor: '#333',//标题颜色
      titleSize: 20,
      cptType: "1", // 组件背景类型
      bgColor: "#FFFFFF",//背景色
      bgImg: "", // 背景图
      taskBgColor: "#F6F6F6",//任务背景色
      taskNameBgColor: "#666",//任务名称背景色
      taskDescBgColor: "#333",//任务描述背景色
      grouthValueColor: "#d70a11",//成长值颜色
      finishBtnImg: '',//去完成按钮图
      finishedBtnImg: "", //已完成按钮图

      taskSpace: 10,
      marginTop: 10,
      marginBottom: 10,
      margin: 10,
      paddingTop: 16,
      paddingLeft: 24,
      paddingRight: 12,
      radiusTop: 8,
      radiusBottom: 8,
    },
  },
  {
    category: "auto",
    type: "coupon",
    name: "优惠券",
    icon: couponIcon,
    isSenior: false,
    isBottom: false,
    pageConfig: {
      style: 1,//风格
      cptType: 1, // 组件背景类型
      bgColor: "#FFFFFF",//背景色
      bgImg: "", // 背景图
      showStyle:1,//展示方式
      couponList:[],//卡券列表

      marginTop: 10,
      marginBottom: 10,
      margin: 10,
      radiusTop: 4,
      radiusBottom: 4,
    },
  },
];

export default storeTypeList;
